package com.ruoyi.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excels;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.system.domain.ProCreateBuilding;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 工地安全质量费用对象 site_fee_schedule
 * 
 * @author ruoyi
 * @date 2020-06-18
 */
public class SiteFeeSchedule extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    @Excels({
            @Excel(name = "项目名称", targetAttr = "pName", type = Excel.Type.EXPORT),
            @Excel(name ="创建时间", targetAttr = "pTime",type = Excel.Type.EXPORT)
    })
    private ProCreateBuilding proCreateBuilding;

    public ProCreateBuilding getProCreateBuilding() {
        return proCreateBuilding;
    }

    public void setProCreateBuilding(ProCreateBuilding proCreateBuilding) {
        this.proCreateBuilding = proCreateBuilding;
    }

    /** 工地安全质量id */
    private Long sId;

    /** 工地费用名 */
    @Excel(name = "工地费用名")
    private String sFeeName;

    /** 工地费用金额 */
    @Excel(name = "工地费用金额")
    private BigDecimal sFeeMoney;

    /** 上传图片 */
    @Excel(name = "上传图片")
    private String sUploading;


    /** 上传图片 */
    @Excel(name = "备注")
    private String sRemark;

    public String getsRemark() {
        return sRemark;
    }

    public void setsRemark(String sRemark) {
        this.sRemark = sRemark;
    }

    /** 项目外键  */
    private Long pId;

    /** 上传人 */
    @Excel(name = "上传人")
    private String sTheHeir;

    /** 上传时间 */
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sTime;

    public void setsId(Long sId) 
    {
        this.sId = sId;
    }

    public Long getsId() 
    {
        return sId;
    }
    public void setsFeeName(String sFeeName) 
    {
        this.sFeeName = sFeeName;
    }

    public String getsFeeName() 
    {
        return sFeeName;
    }
    public void setsFeeMoney(BigDecimal sFeeMoney)
    {
        this.sFeeMoney = sFeeMoney;
    }

    public BigDecimal getsFeeMoney()
    {
        return sFeeMoney;
    }
    public void setsUploading(String sUploading) 
    {
        this.sUploading = sUploading;
    }

    public String getsUploading() 
    {
        return sUploading;
    }
    public void setsTheHeir(String sTheHeir) 
    {
        this.sTheHeir = sTheHeir;
    }

    public String getsTheHeir() 
    {
        return sTheHeir;
    }
    public void setsTime(Date sTime) 
    {
        this.sTime = sTime;
    }

    public Date getsTime() 
    {
        return sTime;
    }
    public Long getpId() {
        return pId;
    }

    public void setpId(Long pId) {
        this.pId = pId;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sId", getsId())
            .append("sFeeName", getsFeeName())
            .append("sFeeMoney", getsFeeMoney())
            .append("sUploading", getsUploading())
            .append("sTheHeir", getsTheHeir())
            .append("sTime", getsTime())
            .append("pId", getpId())
            .append("proCreateBuilding",getProCreateBuilding())
            .toString();
    }
}
